package feifei.second;

import java.io.Serializable;
//JavaBean
public class User implements Serializable {
    private static final long serialVersionUID=1l;
    private String username;
    private String dateOfBirth;
    private String hobbies;
    private String birthCity;
    private String gender;

    public User(String username, String dateOfBirth, String hobbies, String birthCity, String gender) {
        this.username = username;
        this.dateOfBirth = dateOfBirth;
        this.hobbies = hobbies;
        this.birthCity = birthCity;
        this.gender = gender;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDateOfBirth() {
        return dateOfBirth;
    }

    public void setDateOfBirth(String dateOfBirth) {
        this.dateOfBirth = dateOfBirth;
    }

    public String getHobbies() {
        return hobbies;
    }

    public void setHobbies(String hobbies) {
        this.hobbies = hobbies;
    }

    public String getBirthCity() {
        return birthCity;
    }

    public void setBirthCity(String birthCity) {
        this.birthCity = birthCity;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

}
